<%@ page language="java" contentType="text/xml; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-INF/iristaglib.tld" prefix="iris"%>
<%@ include file="/common/taglibs.jsp"%>
<rows>
${page.grid.summary}
<c:forEach var="vo" items="${page.grid.data}">
<row id="${vo.prpCode}" value="${vo.prpCode}" >
<cell>${vo.grantName}${vo.SMSSTATUS}</cell>
<cell><![CDATA[<a href="#" onclick="javascript:viewAction('<iris:des3 code="${vo.POSCODE}|${curDate}" encryptKey="111111222222333333444444" />','<iris:des3 code="${vo.GRANTCODE}|${curDate}" encryptKey="111111222222333333444444" />','<iris:des3 code="${vo.SUBGRANTCODE}|${curDate}" encryptKey="111111222222333333444444" />')" class="yase">${vo.zhTitle}</a>]]></cell>
<%-- <cell>${vo.proposal_type_name}</cell> --%>
<cell><![CDATA[<a href="#" class="yase" onclick="orgInfoView('<iris:des3 code='${vo.orgCode}' />');">${vo.orgName}</a>]]></cell>
<security:authorize ifAnyGranted="A_AUTH_SCS">
<cell><![CDATA[${vo.areaName}]]></cell>
</security:authorize>
<cell><![CDATA[<a onclick="popPsnDetail('<iris:des3 code="${vo.psnCode}"/>')" style="color:#0066cc;cursor:pointer;">${vo.psnName}</a>]]></cell>
<cell>${vo.researcharea_name}</cell>
<cell>${vo.domain_name}</cell>
<cell><![CDATA[${vo.submitDate}]]></cell>
<cell><![CDATA[${vo.accept_date}]]></cell>
<cell><![CDATA[${vo.prpVerson}]]></cell>
<cell><![CDATA[${vo.prpNo}]]></cell>
<cell><![CDATA[${vo.rec_org_name}]]></cell>
<cell><![CDATA[<a href="###" title="${vo.statusName}" onclick="javascript:showPrjProgress('<iris:des3 code="${vo.POSCODE}"/>','${vo.progressCode}')" class="yase">${vo.statusName}</a>]]></cell>
<c:if test="${empty param.printToExcel}"> 
<cell><![CDATA[<a href="###" onclick="javascript:viewComment('<iris:des3 code="${vo.POSCODE}"/>')" class="yase">查看</a>]]></cell>
<cell><![CDATA[<c:if test="${not empty vo.pdfViewUrl}"><a href="#" onclick="return genPdf('<iris:des3 code="${vo.POSCODE}"/>','<iris:des3 code="${vo.pdfCode}"/>');" class="yase ico_pdf">查看</a></c:if><c:if test="${not empty vo.introPdfCode}"><br/><a href="#" onclick="return genIntroPdf('<iris:des3 code="${vo.POSCODE}" />','proposalIntro','<iris:des3 code="${vo.introPdfCode}"/>');" class="yase ico_pdf">简介</a></c:if>]]></cell>
</c:if>
<%-- <cell ><![CDATA[<span id="prpCheck_${vo.prpCode}"><c:if test="${vo.isPrpChecking == '1'}"><span class="color_red ico_wait">检查中...</span></c:if><c:if test="${vo.isPrpChecking == '0'}"><c:if test="${vo.isPrpCheckPass == '1' && vo.similarPrjCount==0 && vo.similarOrgCount==0}"><a href="#" onclick="viewPrpCheckResults('<iris:des3 code="${vo.prpCode}" />');"><span class="color_green">检查通过</span></a></c:if><c:if test="${vo.isPrpCheckPass == '0' or vo.similarPrjCount>0 or vo.similarOrgCount>0}"><c:if test="${vo.similarPrjCount >= '1'}"><a onclick="javascript:showPrpSimilarView('<iris:des3 code="${vo.prpCode }"  />')"><span class="pop_bg_blue2"  title="疑似项目"  name="pop_bg_blue2">${vo.similarPrjCount}</span></a></c:if><c:if test="${vo.similarOrgCount >= '1'}"><a onclick="javascript:showOrgSimilarView('<iris:des3 code="${vo.prpCode }"  />','<iris:des3 code="${vo.orgCode }"  />')"><span class="pop_bg_blue"  title="疑似单位"  name="pop_bg_blue">${vo.similarOrgCount}</span></a></c:if><c:if test="${vo.notFitCheckCount>0 }"><a href="#" onclick="viewPrpCheckResults('<iris:des3 code="${vo.prpCode}" />');"><span class="pop_bg_red"  name="pop_bg_red" title="未通过检查规则">${vo.notFitCheckCount}</span></a></c:if><c:if test="${vo.needDoCheckCount>0 }"><a href="#" onclick="viewPrpCheckResults('<iris:des3 code="${vo.prpCode}" />');"><span class="pop_bg_green"  title="待确认检查规则"  name="pop_bg_green">${vo.needDoCheckCount}</span></a></c:if></c:if></c:if></span>]]></cell> --%>

<%--
<cell><c:if test="${vo.smsStatus == 0}">待发送</c:if><c:if test="${vo.smsStatus == 1}">发送成功</c:if><c:if test="${vo.smsStatus == 2}">发送失败</c:if></cell>
<cell><c:if test="${vo.revStatus == 0}">接收成功</c:if><c:if test="${vo.revStatus == 1}">接收失败</c:if><c:if test="${vo.revStatus == 2}">未知</c:if></cell>
--%>
<%--
<c:if test="${vo.isAlreadyProject == 0  &&  (vo.status =='05' or  vo.status =='06')}">&nbsp;<a href='#' class="yase" onclick="prpPaperReturn('<iris:des3 code="${vo.prpCode}" encryptKey="111111222222333333444444"></iris:des3>');">退回修改</a></c:if>
--%>
<c:if test="${empty param.printToExcel}"> 
<cell><![CDATA[<c:if test="${vo.status =='06'}"><a href="###"  class="yase" onclick="acceptOperate('<iris:des3 code="${vo.prpCode}" encryptKey="111111222222333333444444"/>','${vo.status}','accept');">受理</a>&nbsp;&nbsp;</c:if><c:if test="${vo.isAcceptPdf != '1'}"><c:if test="${vo.status != '07' &&vo.status != '06' && vo.status != '08' && vo.status != '09' && vo.status != '10'}"><a href="###"  class="yase" onclick="updateForPaper('<iris:des3 code="${vo.prpCode}" encryptKey="111111222222333333444444"/>',1);">接收材料</a><input type="hidden" id="isAcceptPdf_${vo.prpCode}" value="${vo.isAcceptPdf}" />&nbsp;</c:if></c:if><c:if test="${vo.audit_status eq '00' and vo.status  ne '07' and vo.status ne '10'}"><br/><a href='###' class="yase" onclick="projectEndDate('<iris:des3 code="${vo.prpCode}" encryptKey="111111222222333333444444"></iris:des3>');">退回修改</a></c:if>]]></cell>
</c:if>

<cell type="hidden"><![CDATA[<input type='hidden' id='bl_psn_${vo.prpCode}' value="${vo.blPsn}"/><input type='hidden' id='bl_org_${vo.prpCode}' value="${vo.blOrg}"/><input type="hidden" id="grant_code_${vo.prpCode}" value="${vo.grantCode}"/><input type="hidden" id="parent_grant_code_${vo.prpCode}" value="${vo.parentGrantCode}"/><input type="hidden" id="grant_name_${vo.prpCode}" value="${vo.grantName}"/><input type="hidden" id="stat_year_${vo.prpCode}" value="${vo.stat_year}"/><input type="hidden" id="isPrpChecking_${vo.prpCode}" value="${vo.isPrpChecking}"/>]]></cell>
<cell type="hidden"><![CDATA[<input id="status_${vo.prpCode}" value="${vo.status}" />]]></cell>
<cell type="hidden"><![CDATA[<input id="audit_status_${vo.prpCode}" value="${vo.audit_status}" />]]></cell>

<cell type="hidden">${vo.flagCan}</cell>
<cell type="hidden">${vo.grantCode}</cell>
<cell type="hidden">${vo.statYear}</cell>
<cell type="hidden"><![CDATA[<input id="posCode_${vo.prpCode}" value="<iris:des3 code="${vo.POSCODE}|${curDate}" encryptKey="111111222222333333444444" />" /> ]]></cell>
<cell type="hidden"><![CDATA[<input id="grantCode_${vo.prpCode}" value="${vo.GRANTCODE}" />]]></cell>
<cell type="hidden"><![CDATA[<input id="subGrantCode_${vo.prpCode}"  value="${vo.SUBGRANTCODE}"/>]]></cell>
<cell type="hidden"><![CDATA[<input id="prp_Code_${vo.prpCode}" value="<iris:des3 code="${vo.prpCode}|${curDate}" encryptKey="111111222222333333444444" />" /> ]]></cell>
<cell type="hidden"><![CDATA[<input id="passFlag_${vo.passFlag}"  value="${vo.passFlag}"/>]]></cell>
</row>
</c:forEach>
</rows>
